Mollie\WooCommerce\Gateway\GatewayModule C

Total Complexity 103
Dependencies 39
Dependents 1
Total lines 806
Lines of code 634
Logical lines of code 365
Comment lines 70
Methods 21
Properties 2

Methods 21

Method Rating Maintainability Complexity Lines of code
run()
B
31 13 133
services()
B
31 11 133
maybeDisableBankTransferGateway()
A
51 13 24
instantiatePaymentMethodGateways()
A
37 6 87
switchFields()
A
57 9 15
addPaymentMethodMandatoryFieldsPhoneVerification()
S
50 6 32
in3FieldsMandatoryPayForOrder()
S
49 6 31
disableMollieOnPaymentMethodChange()
S
60 7 12
addPhoneWhenRest()
S
53 5 23
instantiatePaymentMethods()
S
49 3 35
addPaymentMethodMandatoryFields()
S
55 4 20
addShopOrderMetabox()
S
55 4 19
mollieApplePayDirectHandling()
S
61 3 11
molliePayPalButtonHandling()
S
62 3 11
setOrderPaidByOtherGateway()
S
62 3 10
disableSEPAInCheckout()
S
71 2 6
buildPaymentMethod()
S
64 1 11
isPhoneValid()
S
79 1 3
gatewaySurchargeHandling()
S
81 1 3
in3FieldsMandatory()
S
64 1 9
BillieFieldsMandatory()
S
69 1 6